package oo.day04;

public class Ostrich extends Bird{
	public void fly() {
		System.out.println("奔跑");
		
	}
	public static void main(String[] args) {
		Bird os = new Ostrich();
		os.fly();
	}

}
class Bird{
	public void fly() {
		System.out.println("飞翔");
	}
}
